package com.retoc.oawx.service;

import cn.hutool.core.date.DateTime;
import com.retoc.oawx.domain.CarUse;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.ArrayList;
import java.util.HashMap;

/**
* @author retoc
* @description 针对表【tb_car_use】的数据库操作Service
* @createDate 2022-06-22 10:29:27
*/
public interface CarUseService extends IService<CarUse> {

    public int createCarUse(CarUse carUse);

    public int updateCarUse(CarUse carUse);

    public ArrayList<HashMap> selectOldLeaveListByCreator(HashMap param);

    public ArrayList<HashMap> selectLeaveListByCreator(HashMap param);

    public ArrayList<HashMap> selectCar();

    public HashMap selectCarUseById(int id);

    public CarUse selectCarUseByUuid(String uuid);

    public int deleteByid(int id);

    public CarUse selectCarUseByInstanceId(String instanceId);

    public void approveCarUseByInstanceId(String instanceId);

    ArrayList<HashMap> searchCarUseInfo(HashMap param);
}
